package com.render3d.ms3d;

import javax.vecmath.*;

public class MS3DMaterial {
    
    public String                           name;    
    public Color4f                          ambient;
    public Color4f                          diffuse;
    public Color4f                          specular;
    public Color4f                          emissive;
    public float                            shininess;
    public float                            transparency;
    public char                             mode;
    public String                           texture;
    public String                           alphamap;
    @Override
    public Object clone() throws CloneNotSupportedException {
    	// TODO Auto-generated method stub
    	MS3DMaterial material = new MS3DMaterial();
    	material.name = new String(name);
    	material.ambient = new Color4f(ambient);
    	material.diffuse = new Color4f(diffuse);
    	material.specular = new Color4f(specular);
    	material.emissive = new Color4f(emissive);
    	material.shininess = shininess;
    	material.transparency = transparency;
    	material.mode = mode;
    	material.texture = new String(texture);
    	material.alphamap = new String(alphamap);
    	return material;
    }
}
